<template>
   <div>
       <h1>demo</h1>
       <el-button @click="doAlert">Thank you</el-button>
   </div>
</template>

<script>
   export default{
       data(){
           return{
           }
       },
       created(){
       },
       mounted(){
       },
       methods:{
           doAlert(){
               this.$message.success("yeah");
           }
       }
   }
</script>

<style scoped>
</style>
